package com.hand.cloud.dto;

import com.hand.cloud.entity.Student;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.List;

/**
 * @author hand-wd
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class StudentVo extends Student {
    /**
     * 一个学生对应多门课程
     */
    private List<CourseVo> courses;
}
